<!DOCTYPE html>
<html lang="en">
<head>
	<link rel="icon" type="image/png" href="{{base_url}}/images/logo.png">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{navSub.cate.name}}-产品系列-{{site.name}}</title>
    <link rel="stylesheet" href="{{base_url}}/css/Product.css">
<style>
	.productlist a{
		color: black;
	}
</style>
</head>
<body>
    {{include './common/header.html'}}
    <div class="banner">
        <img src="{{base_url}}/images/image7.png" alt="">
    </div>
    <div class="brand">
        <div class="left">
            <h2>產品系列</h2>
            <ul>
                {{if navSub.cate.pinyin == 'tuijianchanpin'}}
                	<li class="btn1"><a style="color:blue" href="/chanpinxilie/tuijianchanpin/index.html">推薦產品</a></li>
                	{{else}}
                	<li class="btn1"><a href="/chanpinxilie/tuijianchanpin/index.html">推薦產品</a></li>
                {{/if}}
                {{if navSub.cate.pinyin == 'baoxianlicai'}}
                	<li class="btn2"><a style="color:blue" href="/chanpinxilie/baoxianlicai/index.html">保險理財</a></li>
                	{{else}}
                	<li class="btn2"><a href="/chanpinxilie/baoxianlicai/index.html">保險理財</a></li>
                {{/if}}
                {{if navSub.cate.pinyin == 'yinxinglicai'}}
                	<li class="btn3"><a style="color:blue" href="/chanpinxilie/yinxinglicai/index.html">銀行理財</a></li>
                	{{else}}
                	<li class="btn3"><a href="/chanpinxilie/yinxinglicai/index.html">銀行理財</a></li>
                {{/if}}
                {{if navSub.cate.pinyin == 'shuweizichan'}}
                	<li class="btn4"><a style="color:blue" href="/chanpinxilie/shuweizichan/index.html">數位資產</a></li>
                	{{else}}
                	<li class="btn4"><a href="/chanpinxilie/shuweizichan/index.html">數位資產</a></li>
                {{/if}}
                {{if navSub.cate.pinyin == 'zhihuijinrong'}}
                	<li class="btn4"><a style="color:blue" href="/chanpinxilie/zhihuijinrong/index.html">智慧金融</a></li>
                	{{else}}
                	<li class="btn4"><a href="/chanpinxilie/zhihuijinrong/index.html">智慧金融</a></li>
                {{/if}}
                {{if navSub.cate.pinyin == 'jiazucaifu'}}
                	<li class="btn4"><a style="color:blue" href="/chanpinxilie/jiazucaifu/index.html">家族財富</a></li>
                	{{else}}
                	<li class="btn4"><a href="/chanpinxilie/jiazucaifu/index.html">家族財富</a></li>
                {{/if}}
            </ul>
        </div>
        <div class="right">
            <div class="brand_item1">
                <p>>{{each position}}
                	{{if $index < position.length-1}}
                		<a href="{{$value.path}}/index.html">{{$value.name}}</a> >
                		{{else}}
                		<a  href="{{$value.path}}/index.html">{{$value.name}}</a>
                	{{/if}}
                {{/each}}</p>
				
                <h2>{{navSub.cate.name}}</h2>
                <div>
					<p style="margin: 40px 0;">
						安壽投資資金盤項目產品分為五大版塊，保險理財、銀行理財、智慧金融服務、家族財富管理、金融科技產業投資，項目收益分為五大收益形式，活期收益、定期收益、週期性收益、智慧金融性收益、特定性參數收益。
					</p>
				</div>
				<div class="productlist" style="display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start;margin-bottom: 10px;">
					{{if data.list.length>0}}
						{{each data.list}}
						
						<div class="brand_item1_kuang" style="margin-top:10px;">
							<a href="{{$value.path}}/article-{{$value.id}}.html" title="{{$value.title}}">
							<img src="{{base_url}}/images/pro1.png" alt="" class="brand_item1_kuangimg">
							<h3>{{$value.title}}</h3>
							<p class="brand_item1_kuangte" >
								{{$value.taglist}}
							</p>
							<div  class="brand_item1_kuangxia">
								{{@ $value.description}}
							</div>
							</a>
						</div>
						{{/each}}
					{{/if}}
				</div>
				
				{{if data.list.length>1}}
				<style>
					.pagenum{
						width: 100%;
						display: flex;
						flex-wrap: nowrap;
						justify-content: center;
						color: black;
						margin-top: 10px;
						margin-bottom: 10px;
					}
					.pagenum li{
						margin-left: 20px;
						color: black;
					}
				</style>
				
				<ul class="pagenum" style="margin-top: 10px;">
					{{@ pageHtml}}
				</ul>
				{{/if}}
				
            </div>
			
            
        </div>
    </div>
    {{include './common/footer.html'}}
</body>
<script>
    document.querySelector('header').addEventListener('mouseover', function() {
        document.querySelector('.submenu').style.display = 'block';
    });

    document.querySelector('header').addEventListener('mouseout', function() {
        document.querySelector('.submenu').style.display = 'none';
    });
</script>
<script>
    var btn1 = document.querySelector(".btn1");
    var btn2 = document.querySelector(".btn2");
    var btn3 = document.querySelector(".btn3");
    var btn4 = document.querySelector(".btn4");
    var btn5 = document.querySelector(".btn5");
    btn1.onclick = function(){
        var brand_item1 = document.querySelector('.brand_item1').style.display = 'block';
        var brand_item2 = document.querySelector('.brand_item2').style.display = 'none';
        var brand_item3 = document.querySelector('.brand_item3').style.display = 'none';
        var brand_item4 = document.querySelector('.brand_item4').style.display = 'none';
        var brand_item5 = document.querySelector('.brand_item5').style.display = 'none';
    }
    // btn2.onclick = function(){
    //     var brand_item1 = document.querySelector('.brand_item1').style.display = 'none';
    //     var brand_item2 = document.querySelector('.brand_item2').style.display = 'block';
    //     var brand_item3 = document.querySelector('.brand_item3').style.display = 'none';
    //     var brand_item4 = document.querySelector('.brand_item4').style.display = 'none';
    //     var brand_item5 = document.querySelector('.brand_item5').style.display = 'none';
    // }
    // btn3.onclick = function(){
    //     var brand_item1 = document.querySelector('.brand_item1').style.display = 'none';
    //     var brand_item2 = document.querySelector('.brand_item2').style.display = 'none';
    //     var brand_item3 = document.querySelector('.brand_item3').style.display = 'block';
    //     var brand_item4 = document.querySelector('.brand_item4').style.display = 'none';
    //     var brand_item5 = document.querySelector('.brand_item5').style.display = 'none';
    // }
    // btn4.onclick = function(){
    //     var brand_item1 = document.querySelector('.brand_item1').style.display = 'none';
    //     var brand_item2 = document.querySelector('.brand_item2').style.display = 'none';
    //     var brand_item3 = document.querySelector('.brand_item3').style.display = 'none';
    //     var brand_item4 = document.querySelector('.brand_item4').style.display = 'block';
    //     var brand_item5 = document.querySelector('.brand_item5').style.display = 'none';
    // }
    // btn5.onclick = function(){
    //     var brand_item1 = document.querySelector('.brand_item1').style.display = 'none';
    //     var brand_item2 = document.querySelector('.brand_item2').style.display = 'none';
    //     var brand_item3 = document.querySelector('.brand_item3').style.display = 'none';
    //     var brand_item4 = document.querySelector('.brand_item4').style.display = 'none';
    //     var brand_item5 = document.querySelector('.brand_item5').style.display = 'block';
    // }
</script>
</html>